package com.fenquen.dfs.base.protocol.data;

import com.fenquen.dfs.base.protocol.data.storage_source.StorageSource;

import java.nio.ByteBuffer;

public abstract class Data {
    public abstract Byte getProtocolType();

    public abstract Data parseBinary(ByteBuffer byteBuffer);

    public abstract int getByteLength();

    public abstract byte[] getByteArr();
}
